QT       += core gui widgets

TARGET = qt-client
TEMPLATE = app

SOURCES += main.cpp\
        widget.cpp

HEADERS  += widget.h

DESTDIR = ../bin

#sometimes, qmake is just too reluctant :)
QMAKE_CLEAN += ..\\bin\\$${TARGET}.exe

OTHER_FILES += qt-client.rc \
    qt-client.manifest

RC_FILE = qt-client.rc


QMAKE_POST_LINK += "echo baking manifest in for qt-client"
QMAKE_POST_LINK += "&& mt.exe -nologo -manifest "qt-client.manifest" -updateresource:..\bin\qt-client.exe;1"
